jenkins automation using python